#!/bin/bash

./ziprun ../sw-board/sdtest
./wbregs cpu 0
sleep 1
./zipstate

echo START_TIME
./wbregs 0x800000	#  (Different each run)
echo GO_IDLE
./wbregs 0x800001	# 0x01
./wbregs 0x800002	# -1
echo SET SPEED
./wbregs 0x800003	# 1
./wbregs 0x800004	# 0x070701
echo SEND_OP_COND
./wbregs 0x800005	# 1
./wbregs 0x800006	# -1
echo SEND_IF_COND
./wbregs 0x800007	#  1
./wbregs 0x800008	#  0x1a5
# Wait until (ACMD41) returns an idle state
echo ACMD41
./wbregs 0x800009	# 0
./wbregs 0x80000a	# -1
echo READ_OCR
./wbregs 0x80000b	# 0
./wbregs 0x80000c	# 0xc0ff8000
echo SET SPEED
./wbregs 0x80000d	# 0x070201
echo SEND_CSD_COND
./wbregs 0x80000e	# 0x0
./wbregs 0x80000f	# -1
echo CHECK_SPEED
./wbregs 0x800010	# 0x070201
echo CSD_DATA
./wbregs 0x800011	# 0x0
./wbregs 0x800012	# 0x0
./wbregs 0x800013	# 0xe8377f80
./wbregs 0x800014	# 0x0a400023
echo SEND_CID_COND
./wbregs 0x800015	# 0x01000
./wbregs 0x800016	# -1
./wbregs 0x800017	# 0x03534453
./wbregs 0x800018	# 0x44333247
./wbregs 0x800019	# 0x307c1303
./wbregs 0x80001a	# 0x6600ea25
echo SEND_STATUS
./wbregs 0x80001b	# 0x0
./wbregs 0x80001c	# 0x00ffffff
echo REPEAT_CID
./wbregs 0x80001d	# 0x01000
./wbregs 0x80001e	# -1
./wbregs 0x80001f	# 0x03534453
./wbregs 0x800020	# 0x44333247
./wbregs 0x800021	# 0x307c1303
./wbregs 0x800022	# 0x6600ea25
echo SEND_SCR
./wbregs 0x800023	# 0x000
./wbregs 0x800024	# -1
./wbregs 0x800025	# 0x02358000
./wbregs 0x800026	# 0x01000000
echo PRIOR_PIC
./wbregs 0x800027	# 0x02800
echo POST_PIC
./wbregs 0x800028	# 0x06800
echo READ_SECTOR 0
./wbregs 0x800029	# 0x0
./wbregs 0x80002a	# -1
echo SECTOR_DATA "0-15"
./wbregs 0x80002b	# 0xfab80010
./wbregs 0x80002c	# 0x8ed0bc00
./wbregs 0x80002d	# 0xb0b80000
./wbregs 0x80002e	# 0x8ed88ec0
./wbregs 0x80002f	# 0xfbbe007c
./wbregs 0x800030	# 0xbf0006b9
./wbregs 0x800031	# 0x0002f3a4
./wbregs 0x800032	# 0xea210600
./wbregs 0x800033	# 0x00bebe07
./wbregs 0x800034	# 0x3804750b
./wbregs 0x800035	# 0x83c61081
./wbregs 0x800036	# 0xfefe0775
./wbregs 0x800037	# 0xf3eb16b4
./wbregs 0x800038	# 0x02b001bb
./wbregs 0x800039	# 0x007cb280
./wbregs 0x80003a	# 0x8a74018b
echo "16-31"
./wbregs 0x80003b	# 0x4c02cd13
./wbregs 0x80003c	# 0xea007c00
./wbregs 0x80003d	# 0x00ebfe00
./wbregs 0x80003e	# 0x0
./wbregs 0x80003f	# 0x0
./wbregs 0x800040	# 0x0
./wbregs 0x800041	# 0x0
./wbregs 0x800042	# 0x0
./wbregs 0x800043	# 0x0
./wbregs 0x800044	# 0x0
./wbregs 0x800045	# 0x0
./wbregs 0x800046	# 0x0
./wbregs 0x800047	# 0x0
./wbregs 0x800048	# 0x0
./wbregs 0x800049	# 0x0
./wbregs 0x80004a	# 0x0
echo "32-47"
./wbregs 0x80004b	# 0x0
./wbregs 0x80004c	# 0x0
./wbregs 0x80004d	# 0x0
./wbregs 0x80004e	# 0x0
./wbregs 0x80004f	# 0x0
./wbregs 0x800050	# 0x0
./wbregs 0x800051	# 0x0
./wbregs 0x800052	# 0x0
./wbregs 0x800053	# 0x0
./wbregs 0x800054	# 0x0
./wbregs 0x800055	# 0x0
./wbregs 0x800056	# 0x0
./wbregs 0x800057	# 0x0
./wbregs 0x800058	# 0x0
./wbregs 0x800059	# 0x0
./wbregs 0x80005a	# 0x0
echo "48-63"
./wbregs 0x80005b	# 0x0
./wbregs 0x80005c	# 0x0
./wbregs 0x80005d	# 0x0
./wbregs 0x80005e	# 0x0
./wbregs 0x80005f	# 0x0
./wbregs 0x800060	# 0x0
./wbregs 0x800061	# 0x0
./wbregs 0x800062	# 0x0
./wbregs 0x800063	# 0x0
./wbregs 0x800064	# 0x0
./wbregs 0x800065	# 0x0
./wbregs 0x800066	# 0x0
./wbregs 0x800067	# 0x0
./wbregs 0x800068	# 0x0
./wbregs 0x800069	# 0x0
./wbregs 0x80006a	# 0x0
echo "64-79"
./wbregs 0x80006b	# 0x0
./wbregs 0x80006c	# 0x0
./wbregs 0x80006d	# 0x0
./wbregs 0x80006e	# 0x0
./wbregs 0x80006f	# 0x0
./wbregs 0x800070	# 0x0
./wbregs 0x800071	# 0x0
./wbregs 0x800072	# 0x0
./wbregs 0x800073	# 0x0
./wbregs 0x800074	# 0x0
./wbregs 0x800075	# 0x0
./wbregs 0x800076	# 0x0
./wbregs 0x800077	# 0x0
./wbregs 0x800078	# 0x0
./wbregs 0x800079	# 0x0
./wbregs 0x80007a	# 0x0
echo "80-95"
./wbregs 0x80007b	# 0x0
./wbregs 0x80007c	# 0x0
./wbregs 0x80007d	# 0x0
./wbregs 0x80007e	# 0x0
./wbregs 0x80007f	# 0x0
./wbregs 0x800080	# 0x0
./wbregs 0x800081	# 0x0
./wbregs 0x800082	# 0x0
./wbregs 0x800083	# 0x0
./wbregs 0x800084	# 0x0
./wbregs 0x800085	# 0x0
./wbregs 0x800086	# 0x0
./wbregs 0x800087	# 0x0
./wbregs 0x800088	# 0x0
./wbregs 0x800089	# 0x0
./wbregs 0x80008a	# 0x0
echo "96-111"
./wbregs 0x80008b	# 0x0
./wbregs 0x80008c	# 0x0
./wbregs 0x80008d	# 0x0
./wbregs 0x80008e	# 0x0
./wbregs 0x80008f	# 0x0
./wbregs 0x800090	# 0x0
./wbregs 0x800091	# 0x0
./wbregs 0x800092	# 0x0
./wbregs 0x800093	# 0x0
./wbregs 0x800094	# 0x0
./wbregs 0x800095	# 0x0
./wbregs 0x800096	# 0x0
./wbregs 0x800097	# 0x0
./wbregs 0x800098	# 0x0
./wbregs 0x800099	# 0x43190500
./wbregs 0x80009a	# 0x00008001
echo "112-127"
./wbregs 0x80009b	# 0x01000cfe
./wbregs 0x80009c	# 0x3f083f00
./wbregs 0x80009d	# 0x00008a34
./wbregs 0x80009e	# 0x02000000
./wbregs 0x80009f	# 0x010983fe
./wbregs 0x8000a0	# 0xffffc934
./wbregs 0x8000a1	# 0x020037ab
./wbregs 0x8000a2	# 0x9e030000
./wbregs 0x8000a3	# 0x0
./wbregs 0x8000a4	# 0x0
./wbregs 0x8000a5	# 0x0
./wbregs 0x8000a6	# 0x0
./wbregs 0x8000a7	# 0x0
./wbregs 0x8000a8	# 0x0
./wbregs 0x8000a9	# 0x0
./wbregs 0x8000aa	# 0x000055aa
echo READ_SECTOR 1
./wbregs 0x8000ab	# 0x0
./wbregs 0x8000ac	# 0x0
echo SECTOR_DATA "0-15"
./wbregs 0x8000ad	# 0x0
./wbregs 0x8000ae	# 0x0
./wbregs 0x8000af	# 0x0
./wbregs 0x8000b0	# 0x0
./wbregs 0x8000b1	# 0x0
./wbregs 0x8000b2	# 0x0
./wbregs 0x8000b3	# 0x0
./wbregs 0x8000b4	# 0x0
./wbregs 0x8000b5	# 0x0
./wbregs 0x8000b6	# 0x0
./wbregs 0x8000b7	# 0x0
./wbregs 0x8000b8	# 0x0
./wbregs 0x8000b9	# 0x0
./wbregs 0x8000ba	# 0x0
./wbregs 0x8000bb	# 0x0
./wbregs 0x8000bc	# 0x0
echo "16-31"
./wbregs 0x8000bd	# 0x0
./wbregs 0x8000be	# 0x0
./wbregs 0x8000bf	# 0x0
./wbregs 0x8000c0	# 0x0
./wbregs 0x8000c1	# 0x0
./wbregs 0x8000c2	# 0x0
./wbregs 0x8000c3	# 0x0
./wbregs 0x8000c4	# 0x0
./wbregs 0x8000c5	# 0x0
./wbregs 0x8000c6	# 0x0
./wbregs 0x8000c7	# 0x0
./wbregs 0x8000c8	# 0x0
./wbregs 0x8000c9	# 0x0
./wbregs 0x8000ca	# 0x0
./wbregs 0x8000cb	# 0x0
./wbregs 0x8000cc	# 0x0
echo "32-47"
./wbregs 0x8000cd	# 0x0
./wbregs 0x8000ce	# 0x0
./wbregs 0x8000cf	# 0x0
./wbregs 0x8000d0	# 0x0
./wbregs 0x8000d1	# 0x0
./wbregs 0x8000d2	# 0x0
./wbregs 0x8000d3	# 0x0
./wbregs 0x8000d4	# 0x0
./wbregs 0x8000d5	# 0x0
./wbregs 0x8000d6	# 0x0
./wbregs 0x8000d7	# 0x0
./wbregs 0x8000d8	# 0x0
./wbregs 0x8000d9	# 0x0
./wbregs 0x8000da	# 0x0
./wbregs 0x8000db	# 0x0
./wbregs 0x8000dc	# 0x0
echo "48-63"
./wbregs 0x8000dd	# 0x0
./wbregs 0x8000de	# 0x0
./wbregs 0x8000df	# 0x0
./wbregs 0x8000e0	# 0x0
./wbregs 0x8000e1	# 0x0
./wbregs 0x8000e2	# 0x0
./wbregs 0x8000e3	# 0x0
./wbregs 0x8000e4	# 0x0
./wbregs 0x8000e5	# 0x0
./wbregs 0x8000e6	# 0x0
./wbregs 0x8000e7	# 0x0
./wbregs 0x8000e8	# 0x0
./wbregs 0x8000e9	# 0x0
./wbregs 0x8000ea	# 0x0
./wbregs 0x8000eb	# 0x0
./wbregs 0x8000ec	# 0x0
echo "64-79"
./wbregs 0x8000ed	# 0x0
./wbregs 0x8000ee	# 0x0
./wbregs 0x8000ef	# 0x0
./wbregs 0x8000f0	# 0x0
./wbregs 0x8000f1	# 0x0
./wbregs 0x8000f2	# 0x0
./wbregs 0x8000f3	# 0x0
./wbregs 0x8000f4	# 0x0
./wbregs 0x8000f5	# 0x0
./wbregs 0x8000f6	# 0x0
./wbregs 0x8000f7	# 0x0
./wbregs 0x8000f8	# 0x0
./wbregs 0x8000f9	# 0x0
./wbregs 0x8000fa	# 0x0
./wbregs 0x8000fb	# 0x0
./wbregs 0x8000fc	# 0x0
echo "80-95"
./wbregs 0x8000fd	# 0x0
./wbregs 0x8000fe	# 0x0
./wbregs 0x8000ff	# 0x0
./wbregs 0x800100	# 0x0
./wbregs 0x800101	# 0x0
./wbregs 0x800102	# 0x0
./wbregs 0x800103	# 0x0
./wbregs 0x800104	# 0x0
./wbregs 0x800105	# 0x0
./wbregs 0x800106	# 0x0
./wbregs 0x800107	# 0x0
./wbregs 0x800108	# 0x0
./wbregs 0x800109	# 0x0
./wbregs 0x80010a	# 0x0
./wbregs 0x80010b	# 0x0
./wbregs 0x80010c	# 0x0
echo "96-111"
./wbregs 0x80010d	# 0x0
./wbregs 0x80010e	# 0x0
./wbregs 0x80010f	# 0x0
./wbregs 0x800110	# 0x0
./wbregs 0x800111	# 0x0
./wbregs 0x800112	# 0x0
./wbregs 0x800113	# 0x0
./wbregs 0x800114	# 0x0
./wbregs 0x800115	# 0x0
./wbregs 0x800116	# 0x0
./wbregs 0x800117	# 0x0
./wbregs 0x800118	# 0x0
./wbregs 0x800119	# 0x0
./wbregs 0x80011a	# 0x0
./wbregs 0x80011b	# 0x0
./wbregs 0x80011c	# 0x0
echo "112-127"
./wbregs 0x80011d	# 0x0
./wbregs 0x80011e	# 0x0
./wbregs 0x80011f	# 0x0
./wbregs 0x80011f	# 0x0
./wbregs 0x800120	# 0x0
./wbregs 0x800121	# 0x0
./wbregs 0x800122	# 0x0
./wbregs 0x800123	# 0x0
./wbregs 0x800124	# 0x0
./wbregs 0x800125	# 0x0
./wbregs 0x800126	# 0x0
./wbregs 0x800127	# 0x0
./wbregs 0x800128	# 0x0
./wbregs 0x800129	# 0x0
./wbregs 0x80012a	# 0x0
./wbregs 0x80012b	# 0x0
./wbregs 0x80012c	# 0x0
echo READ_SECTOR 2
./wbregs 0x80012d	# 0x0
./wbregs 0x80012e	# 0x0
echo SECTOR_DATA "0-15"
./wbregs 0x80012f	# 0x0
./wbregs 0x800130	# 0x0
./wbregs 0x800131	# 0x0
./wbregs 0x800132	# 0x0
./wbregs 0x800133	# 0x0
./wbregs 0x800134	# 0x0
./wbregs 0x800135	# 0x0
./wbregs 0x800136	# 0x0
./wbregs 0x800137	# 0x0
./wbregs 0x800138	# 0x0
./wbregs 0x800139	# 0x0
./wbregs 0x80013a	# 0x0
./wbregs 0x80013b	# 0x0
./wbregs 0x80013c	# 0x0
./wbregs 0x80013d	# 0x0
./wbregs 0x80013e	# 0x0
echo "16-31"
./wbregs 0x80013f	# 0x0
./wbregs 0x800140	# 0x0
./wbregs 0x800141	# 0x0
./wbregs 0x800142	# 0x0
./wbregs 0x800143	# 0x0
./wbregs 0x800144	# 0x0
./wbregs 0x800145	# 0x0
./wbregs 0x800146	# 0x0
./wbregs 0x800147	# 0x0
./wbregs 0x800148	# 0x0
./wbregs 0x800149	# 0x0
./wbregs 0x80014a	# 0x0
./wbregs 0x80014b	# 0x0
./wbregs 0x80014c	# 0x0
./wbregs 0x80014d	# 0x0
./wbregs 0x80014e	# 0x0
echo "32-47"
./wbregs 0x80014f	# 0x0
./wbregs 0x800150	# 0x0
./wbregs 0x800151	# 0x0
./wbregs 0x800152	# 0x0
./wbregs 0x800153	# 0x0
./wbregs 0x800154	# 0x0
./wbregs 0x800155	# 0x0
./wbregs 0x800156	# 0x0
./wbregs 0x800157	# 0x0
./wbregs 0x800158	# 0x0
./wbregs 0x800159	# 0x0
./wbregs 0x80015a	# 0x0
./wbregs 0x80015b	# 0x0
./wbregs 0x80015c	# 0x0
./wbregs 0x80015d	# 0x0
./wbregs 0x80015e	# 0x0
echo "48-63"
./wbregs 0x80015f	# 0x0
./wbregs 0x800160	# 0x0
./wbregs 0x800161	# 0x0
./wbregs 0x800162	# 0x0
./wbregs 0x800163	# 0x0
./wbregs 0x800164	# 0x0
./wbregs 0x800165	# 0x0
./wbregs 0x800166	# 0x0
./wbregs 0x800167	# 0x0
./wbregs 0x800168	# 0x0
./wbregs 0x800169	# 0x0
./wbregs 0x80016a	# 0x0
./wbregs 0x80016b	# 0x0
./wbregs 0x80016c	# 0x0
./wbregs 0x80016d	# 0x0
./wbregs 0x80016e	# 0x0
echo "64-79"
./wbregs 0x80016f	# 0x0
./wbregs 0x800170	# 0x0
./wbregs 0x800171	# 0x0
./wbregs 0x800172	# 0x0
./wbregs 0x800173	# 0x0
./wbregs 0x800174	# 0x0
./wbregs 0x800175	# 0x0
./wbregs 0x800176	# 0x0
./wbregs 0x800177	# 0x0
./wbregs 0x800178	# 0x0
./wbregs 0x800179	# 0x0
./wbregs 0x80017a	# 0x0
./wbregs 0x80017b	# 0x0
./wbregs 0x80017c	# 0x0
./wbregs 0x80017d	# 0x0
./wbregs 0x80017e	# 0x0
echo "80-95"
./wbregs 0x80017f	# 0x0
./wbregs 0x800180	# 0x0
./wbregs 0x800181	# 0x0
./wbregs 0x800182	# 0x0
./wbregs 0x800183	# 0x0
./wbregs 0x800184	# 0x0
./wbregs 0x800185	# 0x0
./wbregs 0x800186	# 0x0
./wbregs 0x800187	# 0x0
./wbregs 0x800188	# 0x0
./wbregs 0x800189	# 0x0
./wbregs 0x80018a	# 0x0
./wbregs 0x80018b	# 0x0
./wbregs 0x80018c	# 0x0
./wbregs 0x80018d	# 0x0
./wbregs 0x80018e	# 0x0
echo "96-111"
./wbregs 0x80018f	# 0x0
./wbregs 0x800190	# 0x0
./wbregs 0x800191	# 0x0
./wbregs 0x800192	# 0x0
./wbregs 0x800193	# 0x0
./wbregs 0x800194	# 0x0
./wbregs 0x800195	# 0x0
./wbregs 0x800196	# 0x0
./wbregs 0x800197	# 0x0
./wbregs 0x800198	# 0x0
./wbregs 0x800199	# 0x0
./wbregs 0x80019a	# 0x0
./wbregs 0x80019b	# 0x0
./wbregs 0x80019c	# 0x0
./wbregs 0x80019d	# 0x0
./wbregs 0x80019e	# 0x0
echo "112-127"
./wbregs 0x80019f	# 0x0
./wbregs 0x8001a0	# 0x0
./wbregs 0x8001a1	# 0x0
./wbregs 0x8001a2	# 0x0
./wbregs 0x8001a3	# 0x0
./wbregs 0x8001a4	# 0x0
./wbregs 0x8001a5	# 0x0
./wbregs 0x8001a6	# 0x0
./wbregs 0x8001a7	# 0x0
./wbregs 0x8001a8	# 0x0
./wbregs 0x8001a9	# 0x0
./wbregs 0x8001aa	# 0x0
./wbregs 0x8001ab	# 0x0
./wbregs 0x8001ac	# 0x0
./wbregs 0x8001ad	# 0x0
./wbregs 0x8001ae	# 0x0
echo READ_SECTOR 3
./wbregs 0x8001af	# 0x0
./wbregs 0x8001b0	# 0x0
echo SECTOR_DATA "0-15"
./wbregs 0x8001b1	# 0x0
./wbregs 0x8001b2	# 0x0
./wbregs 0x8001b3	# 0x0
./wbregs 0x8001b4	# 0x0
./wbregs 0x8001b5	# 0x0
./wbregs 0x8001b6	# 0x0
./wbregs 0x8001b7	# 0x0
./wbregs 0x8001b8	# 0x0
./wbregs 0x8001b9	# 0x0
./wbregs 0x8001ba	# 0x0
./wbregs 0x8001bb	# 0x0
./wbregs 0x8001bc	# 0x0
./wbregs 0x8001bd	# 0x0
./wbregs 0x8001be	# 0x0
./wbregs 0x8001bf	# 0x0
./wbregs 0x8001c0	# 0x0
echo "16-31"
./wbregs 0x8001c1	# 0x0
./wbregs 0x8001c2	# 0x0
./wbregs 0x8001c3	# 0x0
./wbregs 0x8001c4	# 0x0
./wbregs 0x8001c5	# 0x0
./wbregs 0x8001c6	# 0x0
./wbregs 0x8001c7	# 0x0
./wbregs 0x8001c8	# 0x0
./wbregs 0x8001c9	# 0x0
./wbregs 0x8001ca	# 0x0
./wbregs 0x8001cb	# 0x0
./wbregs 0x8001cc	# 0x0
./wbregs 0x8001cd	# 0x0
./wbregs 0x8001ce	# 0x0
./wbregs 0x8001cf	# 0x0
./wbregs 0x8001d0	# 0x0
echo "32-47"
./wbregs 0x8001d1	# 0x0
./wbregs 0x8001d2	# 0x0
./wbregs 0x8001d3	# 0x0
./wbregs 0x8001d4	# 0x0
./wbregs 0x8001d5	# 0x0
./wbregs 0x8001d6	# 0x0
./wbregs 0x8001d7	# 0x0
./wbregs 0x8001d8	# 0x0
./wbregs 0x8001d9	# 0x0
./wbregs 0x8001da	# 0x0
./wbregs 0x8001db	# 0x0
./wbregs 0x8001dc	# 0x0
./wbregs 0x8001dd	# 0x0
./wbregs 0x8001de	# 0x0
./wbregs 0x8001df	# 0x0
./wbregs 0x8001e0	# 0x0
echo "48-63"
./wbregs 0x8001e1	# 0x0
./wbregs 0x8001e2	# 0x0
./wbregs 0x8001e3	# 0x0
./wbregs 0x8001e4	# 0x0
./wbregs 0x8001e5	# 0x0
./wbregs 0x8001e6	# 0x0
./wbregs 0x8001e7	# 0x0
./wbregs 0x8001e8	# 0x0
./wbregs 0x8001e9	# 0x0
./wbregs 0x8001ea	# 0x0
./wbregs 0x8001eb	# 0x0
./wbregs 0x8001ec	# 0x0
./wbregs 0x8001ed	# 0x0
./wbregs 0x8001ee	# 0x0
./wbregs 0x8001ef	# 0x0
./wbregs 0x8001f0	# 0x0
echo "64-79"
./wbregs 0x8001f1	# 0x0
./wbregs 0x8001f2	# 0x0
./wbregs 0x8001f3	# 0x0
./wbregs 0x8001f4	# 0x0
./wbregs 0x8001f5	# 0x0
./wbregs 0x8001f6	# 0x0
./wbregs 0x8001f7	# 0x0
./wbregs 0x8001f8	# 0x0
./wbregs 0x8001f9	# 0x0
./wbregs 0x8001fa	# 0x0
./wbregs 0x8001fb	# 0x0
./wbregs 0x8001fc	# 0x0
./wbregs 0x8001fd	# 0x0
./wbregs 0x8001fe	# 0x0
./wbregs 0x8001ff	# 0x0
./wbregs 0x800200	# 0x0
echo "80-95"
./wbregs 0x800201	# 0x0
./wbregs 0x800202	# 0x0
./wbregs 0x800203	# 0x0
./wbregs 0x800204	# 0x0
./wbregs 0x800205	# 0x0
./wbregs 0x800206	# 0x0
./wbregs 0x800207	# 0x0
./wbregs 0x800208	# 0x0
./wbregs 0x800209	# 0x0
./wbregs 0x80020a	# 0x0
./wbregs 0x80020b	# 0x0
./wbregs 0x80020c	# 0x0
./wbregs 0x80020d	# 0x0
./wbregs 0x80020e	# 0x0
./wbregs 0x80020f	# 0x0
./wbregs 0x800210	# 0x0
echo "96-111"
./wbregs 0x800211	# 0x0
./wbregs 0x800212	# 0x0
./wbregs 0x800213	# 0x0
./wbregs 0x800214	# 0x0
./wbregs 0x800215	# 0x0
./wbregs 0x800216	# 0x0
./wbregs 0x800217	# 0x0
./wbregs 0x800218	# 0x0
./wbregs 0x800219	# 0x0
./wbregs 0x80021a	# 0x0
./wbregs 0x80021b	# 0x0
./wbregs 0x80021c	# 0x0
./wbregs 0x80021d	# 0x0
./wbregs 0x80021e	# 0x0
./wbregs 0x80021f	# 0x0
./wbregs 0x800220	# 0x0
echo "112-127"
./wbregs 0x800221	# 0x0
./wbregs 0x800222	# 0x0
./wbregs 0x800223	# 0x0
./wbregs 0x800224	# 0x0
./wbregs 0x800225	# 0x0
./wbregs 0x800226	# 0x0
./wbregs 0x800227	# 0x0
./wbregs 0x800228	# 0x0
./wbregs 0x800229	# 0x0
./wbregs 0x80022a	# 0x0
./wbregs 0x80022b	# 0x0
./wbregs 0x80022c	# 0x0
./wbregs 0x80022d	# 0x0
./wbregs 0x80022e	# 0x0
./wbregs 0x80022f	# 0x0
./wbregs 0x800230	# 0x0
echo READ_SECTOR 4
./wbregs 0x800231	# 0x0
./wbregs 0x800232	# 0x0
echo SECTOR_DATA "0-15"
./wbregs 0x800233	# 0x0
./wbregs 0x800234	# 0x0
./wbregs 0x800235	# 0x0
./wbregs 0x800236	# 0x0
./wbregs 0x800237	# 0x0
./wbregs 0x800238	# 0x0
./wbregs 0x800239	# 0x0
./wbregs 0x80023a	# 0x0
./wbregs 0x80023b	# 0x0
./wbregs 0x80023c	# 0x0
./wbregs 0x80023d	# 0x0
./wbregs 0x80023e	# 0x0
./wbregs 0x80023f	# 0x0
./wbregs 0x800240	# 0x0
./wbregs 0x800241	# 0x0
./wbregs 0x800242	# 0x0
echo "16-31"
./wbregs 0x800243	# 0x0
./wbregs 0x800244	# 0x0
./wbregs 0x800245	# 0x0
./wbregs 0x800246	# 0x0
./wbregs 0x800247	# 0x0
./wbregs 0x800248	# 0x0
./wbregs 0x800249	# 0x0
./wbregs 0x80024a	# 0x0
./wbregs 0x80024b	# 0x0
./wbregs 0x80024c	# 0x0
./wbregs 0x80024d	# 0x0
./wbregs 0x80024e	# 0x0
./wbregs 0x80024f	# 0x0
./wbregs 0x800250	# 0x0
./wbregs 0x800251	# 0x0
./wbregs 0x800252	# 0x0
echo "32-47"
./wbregs 0x800253	# 0x0
./wbregs 0x800254	# 0x0
./wbregs 0x800255	# 0x0
./wbregs 0x800256	# 0x0
./wbregs 0x800257	# 0x0
./wbregs 0x800258	# 0x0
./wbregs 0x800259	# 0x0
./wbregs 0x80025a	# 0x0
./wbregs 0x80025b	# 0x0
./wbregs 0x80025c	# 0x0
./wbregs 0x80025d	# 0x0
./wbregs 0x80025e	# 0x0
./wbregs 0x80025f	# 0x0
./wbregs 0x800260	# 0x0
./wbregs 0x800261	# 0x0
./wbregs 0x800262	# 0x0
echo "48-63"
./wbregs 0x800263	# 0x0
./wbregs 0x800264	# 0x0
./wbregs 0x800265	# 0x0
./wbregs 0x800256	# 0x0
./wbregs 0x800267	# 0x0
./wbregs 0x800268	# 0x0
./wbregs 0x800269	# 0x0
./wbregs 0x80026a	# 0x0
./wbregs 0x80026b	# 0x0
./wbregs 0x80026c	# 0x0
./wbregs 0x80026d	# 0x0
./wbregs 0x80026e	# 0x0
./wbregs 0x80026f	# 0x0
./wbregs 0x800270	# 0x0
./wbregs 0x800271	# 0x0
./wbregs 0x800272	# 0x0
echo "64-79"
./wbregs 0x800273	# 0x0
./wbregs 0x800274	# 0x0
./wbregs 0x800275	# 0x0
./wbregs 0x800276	# 0x0
./wbregs 0x800277	# 0x0
./wbregs 0x800278	# 0x0
./wbregs 0x800279	# 0x0
./wbregs 0x80027a	# 0x0
./wbregs 0x80027b	# 0x0
./wbregs 0x80027c	# 0x0
./wbregs 0x80027d	# 0x0
./wbregs 0x80027e	# 0x0
./wbregs 0x80027f	# 0x0
./wbregs 0x800280	# 0x0
./wbregs 0x800281	# 0x0
./wbregs 0x800282	# 0x0
echo "80-95"
./wbregs 0x800283	# 0x0
./wbregs 0x800284	# 0x0
./wbregs 0x800285	# 0x0
./wbregs 0x800286	# 0x0
./wbregs 0x800287	# 0x0
./wbregs 0x800288	# 0x0
./wbregs 0x800289	# 0x0
./wbregs 0x80028a	# 0x0
./wbregs 0x80028b	# 0x0
./wbregs 0x80028c	# 0x0
./wbregs 0x80028d	# 0x0
./wbregs 0x80028e	# 0x0
./wbregs 0x80028f	# 0x0
./wbregs 0x800290	# 0x0
./wbregs 0x800291	# 0x0
./wbregs 0x800292	# 0x0
echo "96-111"
./wbregs 0x800293	# 0x0
./wbregs 0x800294	# 0x0
./wbregs 0x800295	# 0x0
./wbregs 0x800296	# 0x0
./wbregs 0x800297	# 0x0
./wbregs 0x800298	# 0x0
./wbregs 0x800299	# 0x0
./wbregs 0x80029a	# 0x0
./wbregs 0x80029b	# 0x0
./wbregs 0x80029c	# 0x0
./wbregs 0x80029d	# 0x0
./wbregs 0x80029e	# 0x0
./wbregs 0x80029f	# 0x0
./wbregs 0x8002a0	# 0x0
./wbregs 0x8002a1	# 0x0
./wbregs 0x8002a2	# 0x0
echo "112-127"
./wbregs 0x8002a3	# 0x0
./wbregs 0x8002a4	# 0x0
./wbregs 0x8002a5	# 0x0
./wbregs 0x8002a6	# 0x0
./wbregs 0x8002a7	# 0x0
./wbregs 0x8002a8	# 0x0
./wbregs 0x8002a9	# 0x0
./wbregs 0x8002aa	# 0x0
./wbregs 0x8002ab	# 0x0
./wbregs 0x8002ac	# 0x0
./wbregs 0x8002ad	# 0x0
./wbregs 0x8002ae	# 0x0
./wbregs 0x8002af	# 0x0
./wbregs 0x8002b0	# 0x0
./wbregs 0x8002b1	# 0x0
./wbregs 0x8002b2	# 0x0
echo END_READING_TOKEN
./wbregs 0x8002b3	# 0xdeadbeef
echo END_READING_TIME
./wbregs 0x8002b4	# 0x0fcc61 = 13ms
echo WRITE_SECTOR 2
./wbregs 0x8002b5	# 0x0
./wbregs 0x8002b6	# 0x0
echo READ_SECTOR_3
./wbregs 0x8002b7	# 0x0
./wbregs 0x8002b8	# 0x0
echo SECTOR_DATA "0-15"
./wbregs 0x8002b9	# 0x0
./wbregs 0x8002ba	# 0x0
./wbregs 0x8002bb	# 0x0
./wbregs 0x8002bc	# 0x0
./wbregs 0x8002bd	# 0x0
./wbregs 0x8002be	# 0x0
./wbregs 0x8002bf	# 0x0
./wbregs 0x8002c0	# 0x0
./wbregs 0x8002c1	# 0x0
./wbregs 0x8002c2	# 0x0
./wbregs 0x8002c3	# 0x0
./wbregs 0x8002c4	# 0x0
./wbregs 0x8002c5	# 0x0
./wbregs 0x8002c6	# 0x0
./wbregs 0x8002c7	# 0x0
./wbregs 0x8002c8	# 0x0
echo SECTOR_DATA "16-31"
./wbregs 0x8002c9	# 0x0
./wbregs 0x8002ca	# 0x0
./wbregs 0x8002cb	# 0x0
./wbregs 0x8002cc	# 0x0
./wbregs 0x8002cd	# 0x0
./wbregs 0x8002ce	# 0x0
./wbregs 0x8002cf	# 0x0
./wbregs 0x8002d0	# 0x0
./wbregs 0x8002d1	# 0x0
./wbregs 0x8002d2	# 0x0
./wbregs 0x8002d3	# 0x0
./wbregs 0x8002d4	# 0x0
./wbregs 0x8002d5	# 0x0
./wbregs 0x8002d6	# 0x0
./wbregs 0x8002d7	# 0x0
./wbregs 0x8002d8	# 0x0
echo SECTOR_DATA "32-47"
./wbregs 0x8002d9	# 0x0
./wbregs 0x8002da	# 0x0
./wbregs 0x8002db	# 0x0
./wbregs 0x8002dc	# 0x0
./wbregs 0x8002dd	# 0x0
./wbregs 0x8002de	# 0x0
./wbregs 0x8002df	# 0x0
./wbregs 0x8002e0	# 0x0
./wbregs 0x8002e1	# 0x0
./wbregs 0x8002e2	# 0x0
./wbregs 0x8002e3	# 0x0
./wbregs 0x8002e4	# 0x0
./wbregs 0x8002e5	# 0x0
./wbregs 0x8002e6	# 0x0
./wbregs 0x8002e7	# 0x0
./wbregs 0x8002e8	# 0x0
echo SECTOR_DATA "48-63"
./wbregs 0x8002e9	# 0x0
./wbregs 0x8002ea	# 0x0
./wbregs 0x8002eb	# 0x0
./wbregs 0x8002ec	# 0x0
./wbregs 0x8002ed	# 0x0
./wbregs 0x8002ee	# 0x0
./wbregs 0x8002ef	# 0x0
./wbregs 0x8002f0	# 0x0
./wbregs 0x8002f1	# 0x0
./wbregs 0x8002f2	# 0x0
./wbregs 0x8002f3	# 0x0
./wbregs 0x8002f4	# 0x0
./wbregs 0x8002f5	# 0x0
./wbregs 0x8002f6	# 0x0
./wbregs 0x8002f7	# 0x0
./wbregs 0x8002f8	# 0x0
echo SECTOR_DATA "64-79"
./wbregs 0x8002f9	# 0x0
./wbregs 0x8002fa	# 0x0
./wbregs 0x8002fb	# 0x0
./wbregs 0x8002fc	# 0x0
./wbregs 0x8002fd	# 0x0
./wbregs 0x8002fe	# 0x0
./wbregs 0x8002ff	# 0x0
./wbregs 0x800300	# 0x0
./wbregs 0x800301	# 0x0
./wbregs 0x800302	# 0x0
./wbregs 0x800303	# 0x0
./wbregs 0x800304	# 0x0
./wbregs 0x800305	# 0x0
./wbregs 0x800306	# 0x0
./wbregs 0x800307	# 0x0
./wbregs 0x800308	# 0x0
echo SECTOR_DATA "80-95"
./wbregs 0x800309	# 0x0
./wbregs 0x80030a	# 0x0
./wbregs 0x80030b	# 0x0
./wbregs 0x80030c	# 0x0
./wbregs 0x80030d	# 0x0
./wbregs 0x80030e	# 0x0
./wbregs 0x80030f	# 0x0
./wbregs 0x800310	# 0x0
./wbregs 0x800311	# 0x0
./wbregs 0x800312	# 0x0
./wbregs 0x800313	# 0x0
./wbregs 0x800314	# 0x0
./wbregs 0x800315	# 0x0
./wbregs 0x800316	# 0x0
./wbregs 0x800317	# 0x0
./wbregs 0x800318	# 0x0
echo SECTOR_DATA "96-111"
./wbregs 0x800319	# 0x0
./wbregs 0x80031a	# 0x0
./wbregs 0x80031b	# 0x0
./wbregs 0x80031c	# 0x0
./wbregs 0x80031d	# 0x0
./wbregs 0x80031e	# 0x0
./wbregs 0x80031f	# 0x0
./wbregs 0x800320	# 0x0
./wbregs 0x800321	# 0x0
./wbregs 0x800322	# 0x0
./wbregs 0x800323	# 0x0
./wbregs 0x800324	# 0x0
./wbregs 0x800325	# 0x0
./wbregs 0x800326	# 0x0
./wbregs 0x800327	# 0x0
./wbregs 0x800328	# 0x0
echo SECTOR_DATA "112-127"
./wbregs 0x800329	# 0x0
./wbregs 0x80032a	# 0x0
./wbregs 0x80032b	# 0x0
./wbregs 0x80032c	# 0x0
./wbregs 0x80032d	# 0x0
./wbregs 0x80032e	# 0x0
./wbregs 0x80032f	# 0x0
./wbregs 0x800330	# 0x0
./wbregs 0x800331	# 0x0
./wbregs 0x800332	# 0x0
./wbregs 0x800333	# 0x0
./wbregs 0x800334	# 0x0
./wbregs 0x800335	# 0x0
./wbregs 0x800336	# 0x0
./wbregs 0x800337	# 0x0
./wbregs 0x800338	# 0x0
echo READ_SECTOR 2
./wbregs 0x800339	# 0x0
./wbregs 0x80033a	# 0x0
echo SECTOR_DATA "0-15"
./wbregs 0x80033b	# 0x0
./wbregs 0x80033c	# 0x0
./wbregs 0x80033d	# 0x0
./wbregs 0x80033e	# 0x0
./wbregs 0x80033f	# 0x0
./wbregs 0x800340	# 0x0
./wbregs 0x800341	# 0x0
./wbregs 0x800342	# 0x0
./wbregs 0x800343	# 0x0
./wbregs 0x800344	# 0x0
./wbregs 0x800345	# 0x0
./wbregs 0x800346	# 0x0
./wbregs 0x800347	# 0x0
./wbregs 0x800348	# 0x0
./wbregs 0x800349	# 0x0
./wbregs 0x80034a	# 0x0
echo SECTOR_DATA "16-31"
./wbregs 0x80034b	# 0x0
./wbregs 0x80034c	# 0x0
./wbregs 0x80034d	# 0x0
./wbregs 0x80034e	# 0x0
./wbregs 0x80034f	# 0x0
./wbregs 0x800350	# 0x0
./wbregs 0x800351	# 0x0
./wbregs 0x800352	# 0x0
./wbregs 0x800353	# 0x0
./wbregs 0x800354	# 0x0
./wbregs 0x800355	# 0x0
./wbregs 0x800356	# 0x0
./wbregs 0x800357	# 0x0
./wbregs 0x800358	# 0x0
./wbregs 0x800359	# 0x0
./wbregs 0x80035a	# 0x0
echo SECTOR_DATA "32-47"
./wbregs 0x80035b	# 0x0
./wbregs 0x80035c	# 0x0
./wbregs 0x80035d	# 0x0
./wbregs 0x80035e	# 0x0
./wbregs 0x80035f	# 0x0
./wbregs 0x800360	# 0x0
./wbregs 0x800361	# 0x0
./wbregs 0x800362	# 0x0
./wbregs 0x800363	# 0x0
./wbregs 0x800364	# 0x0
./wbregs 0x800365	# 0x0
./wbregs 0x800366	# 0x0
./wbregs 0x800367	# 0x0
./wbregs 0x800368	# 0x0
./wbregs 0x800369	# 0x0
./wbregs 0x80036a	# 0x0
echo SECTOR_DATA "48-63"
./wbregs 0x80036b	# 0x0
./wbregs 0x80036c	# 0x0
./wbregs 0x80036d	# 0x0
./wbregs 0x80036e	# 0x0
./wbregs 0x80036f	# 0x0
./wbregs 0x800370	# 0x0
./wbregs 0x800371	# 0x0
./wbregs 0x800372	# 0x0
./wbregs 0x800373	# 0x0
./wbregs 0x800374	# 0x0
./wbregs 0x800375	# 0x0
./wbregs 0x800376	# 0x0
./wbregs 0x800377	# 0x0
./wbregs 0x800378	# 0x0
./wbregs 0x800379	# 0x0
./wbregs 0x80037a	# 0x0
echo SECTOR_DATA "64-79"
./wbregs 0x80037b	# 0x0
./wbregs 0x80037c	# 0x0
./wbregs 0x80037d	# 0x0
./wbregs 0x80037e	# 0x0
./wbregs 0x80037f	# 0x0
./wbregs 0x800380	# 0x0
./wbregs 0x800381	# 0x0
./wbregs 0x800382	# 0x0
./wbregs 0x800383	# 0x0
./wbregs 0x800384	# 0x0
./wbregs 0x800385	# 0x0
./wbregs 0x800386	# 0x0
./wbregs 0x800387	# 0x0
./wbregs 0x800388	# 0x0
./wbregs 0x800389	# 0x0
./wbregs 0x80038a	# 0x0
echo SECTOR_DATA "80-95"
./wbregs 0x80038b	# 0x0
./wbregs 0x80038c	# 0x0
./wbregs 0x80038d	# 0x0
./wbregs 0x80038e	# 0x0
./wbregs 0x80038f	# 0x0
./wbregs 0x800390	# 0x0
./wbregs 0x800391	# 0x0
./wbregs 0x800392	# 0x0
./wbregs 0x800393	# 0x0
./wbregs 0x800394	# 0x0
./wbregs 0x800395	# 0x0
./wbregs 0x800396	# 0x0
./wbregs 0x800397	# 0x0
./wbregs 0x800398	# 0x0
./wbregs 0x800399	# 0x0
./wbregs 0x80039a	# 0x0
echo SECTOR_DATA "96-111"
./wbregs 0x80039b	# 0x0
./wbregs 0x80039c	# 0x0
./wbregs 0x80039d	# 0x0
./wbregs 0x80039e	# 0x0
./wbregs 0x80039f	# 0x0
./wbregs 0x8003a0	# 0x0
./wbregs 0x8003a1	# 0x0
./wbregs 0x8003a2	# 0x0
./wbregs 0x8003a3	# 0x0
./wbregs 0x8003a4	# 0x0
./wbregs 0x8003a5	# 0x0
./wbregs 0x8003a6	# 0x0
./wbregs 0x8003a7	# 0x0
./wbregs 0x8003a8	# 0x0
./wbregs 0x8003a9	# 0x0
./wbregs 0x8003aa	# 0x0
echo SECTOR_DATA "112-127"
./wbregs 0x8003ab	# 0x0
./wbregs 0x8003ac	# 0x0
./wbregs 0x8003ad	# 0x0
./wbregs 0x8003ae	# 0x0
./wbregs 0x8003af	# 0x0
./wbregs 0x8003b0	# 0x0
./wbregs 0x8003b1	# 0x0
./wbregs 0x8003b2	# 0x0
./wbregs 0x8003b3	# 0x0
./wbregs 0x8003b4	# 0x0
./wbregs 0x8003b5	# 0x0
./wbregs 0x8003b6	# 0x0
./wbregs 0x8003b7	# 0x0
./wbregs 0x8003b8	# 0x0
./wbregs 0x8003b9	# 0x0
./wbregs 0x8003ba	# 0x0
echo WRITE_ENDING
./wbregs 0x8003bb	# 0x0
./wbregs 0x8003bc	# 0x070701
./wbregs 0x8003bd	# 0xdeadbeef
./wbregs 0x8003be	# 0x0020187c = 26ms, 0x1288f3/80e6 = 15ms
echo WRITE_BUFFER
./wbregs 0x8003bf	# 0x0
./wbregs 0x8003c0	# 0x0
./wbregs 0x8003c1	# 0x0
./wbregs 0x8003c2	# 0x0
./wbregs 0x8003c3	# 0x0
./wbregs 0x8003c4	# 0x0
./wbregs 0x8003c5	# 0x0
./wbregs 0x8003c6	# 0x0
#./wbregs 0x8003c7	# 0x0
#./wbregs 0x8003c8	# 0x0
#./wbregs 0x8003c9	# 0x0
#./wbregs 0x8003ca	# 0x0
